package xd.ylwy;/*
import com.baomidou.mybatisplus.generator.FastAutoGenerator;
import com.baomidou.mybatisplus.generator.config.OutputFile;
import com.baomidou.mybatisplus.generator.engine.FreemarkerTemplateEngine;*/

import java.sql.SQLException;
import java.util.Collections;


public class MysqlGenerator {
/*    static final String URL = "jdbc:mysql://localhost:3306/xd_ylwy?characterEncoding=utf-8&useSSL=false&serverTimezone=UTC";
    public static void main(String[] args) throws SQLException{
        FastAutoGenerator.create(URL, "root", "cyx123")
                .globalConfig(builder -> {
                    builder.author("xd") // 设置作者
                            .outputDir("E://xd_ylwy//src//main//java"); // 指定输出目录
                })
                .packageConfig(builder -> {
                    builder.parent("xd.ylwy.score");})
                .strategyConfig(builder -> {
                    builder.addInclude("tb_score");// 设置需要生成的表名
                })
                .execute();

    }*/
}


